import React, { Component } from 'react'

interface IProps{
    // location:any
    match:any
}

export default class Detail extends Component<IProps> {
    componentDidMount(){
        console.log(this.props.match.params.id)
    }
    render() {
        return (
            <div>
                Detail
            </div>
        )
    }
}
